﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WordFlowDocumentCreator
{
    public partial class CreatingWpf : Form
    {
        /// <summary>
        /// Constructor
        /// </summary>
        /// <param name="steps">number of steps in process</param>
        public CreatingWpf(int steps)
        {
            InitializeComponent();

            progressBar.Maximum = steps;
        }

        internal void StepProgress(string statusText)
        {
            progressBar.PerformStep();

            status.Text = statusText;
        }
    }
}
